package com.android.aiod.ui.activity;

import android.app.Activity;
import android.view.View;

import com.android.aiod.constants.Constants;
import com.android.aiod.manager.DataParsingManager;
import com.android.baselibrary.view.Comm_HeadView;
import com.android.baselibrary.view.MultiStateView;
import com.android.aiod.R;

import butterknife.BindView;
import butterknife.OnClick;

public class SettingActivity extends BaseActivity {

    @BindView(R.id.multiplestatusView)
    MultiStateView multiplestatusView;
    @BindView(R.id.comm_title)
    Comm_HeadView comm_title;

    @Override
    protected int getLayoutId() {
        return R.layout.activity_setting;
    }

    @Override
    protected void initView() {
        comm_title.setTitle("设置");
        comm_title.setLeftClickFinish((Activity) mContext);
    }

    @Override
    protected void initData() {

    }

    @OnClick({R.id.tv_to_voice, R.id.tv_to_serial})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.tv_to_voice:
                StartActivity(VoiceActivity.class);
                break;
            case R.id.tv_to_serial:
                StartActivity(SerialPortActivity.class);
                break;
        }
    }
}
